package com.justech.eat.vo;

import javax.validation.constraints.NotNull;

public class PageVo {

    @NotNull(message = "请指定分页的页数")
    private Integer page;

    @NotNull(message = "请指定每页显示的页数")
    private Integer size;

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }
}
